<?php
/**
 * 数组输出相关
 */
require 'ArrayStruct.php';
$array = new ArrayStruct(10);
$array->addLast(1);
$array->addLast(2);
$array->addLast(3);
$array->addLast(4);
$array->addLast(5);
$array->addLast("a");
$array->addLast("a");
$array->addLast("a");
$array->addLast("a");
$array->addFirst("b");
echo $array->toString();
